package com.pgeneral.user.management.service;

import com.pgeneral.user.management.entity.DepartmentInfo;

import java.util.List;

/**
 * @author 龙
 * @create 2020/6/30 11:41
 */
public interface DepartmentInfoService {

    /**
     * 插入科室
     * @param departmentInfos
     * @return
     */
    int insert(List<DepartmentInfo> departmentInfos);

    /**
     * 查询科室
     * @param departmentinfo
     * @return
     */
    List<DepartmentInfo> getDepartmentinfoTable(DepartmentInfo departmentinfo);

    /**
     * 更新科室
     * @param departmentInfos
     * @return
     */
    int updateDepartmentinfoTable(List<DepartmentInfo> departmentInfos);

    /**
     * 删除科室
     * @param ids
     * @return
     */
    int updateIsDeletefromDepartmentinfoTable(List<String> ids);
}

